import 'package:flutter/material.dart';
import 'package:t_flutter_test/component/layout_widget.dart';

class File05 extends StatelessWidget {
  const File05({super.key});

  @override
  Widget build(BuildContext context) {
    return LayoutWidget(
      body: Center(
        child: Stack(
          alignment: Alignment.topCenter,
          clipBehavior: Clip.none, // 溢出显示
          children: [
            Container(width: 200, height: 200, color: Colors.lightBlueAccent),
            Positioned(top: -105, child: Image.asset('assets/open_eyes.png')),
          ],
        ),
      ),
    );
  }
}
